
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->

<script src="SpryAssets/SpryValidationPassword.js" type="text/javascript"></script>
<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<link href="SpryAssets/SpryValidationPassword.css" rel="stylesheet" type="text/css" />
<link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />

<title>Plataforma Unificadora de Obras Sociales</title>

<link href="css/style.css" rel="stylesheet" type="text/css" />
<link href="css/stylebarra.css" rel="stylesheet" type="text/css"/>
<link href="css/styletabla.css" rel="stylesheet" type="text/css"/>

</head>

<body>

<p style="color: #FF0000;"> ${requestScope.Error}</p>
<div class="container">
    <div class="header"> 
        <img src="images/logo_120.png" width="400" height="133" alt="logo" /> <!--#include file="includes/cebecera.ssi" -->
    </div> 
         
    <div class="content">
        
        
        
    <br><br><br>           
    <form name="form3" action="index.jsp?action=AfiliadoLogin" method="post"> 
    <table width="291" border="0" align="center">
        <tr>
            <td height="42"><p>Obra Social</p></td>
            <td align="left"><select name="nom_os" id="nom_os" style="width: 180px">
            <option value="0" selected></option> 
            <c:forEach items="${requestScope.lista_os}" var="lista">  
                <option value="${lista.nombre}">${lista.nombre}             
            </c:forEach>            
            </select></td>
        </tr> 

    <tr>
      <td width="80" height="42"><p>Nro de Afiliado</p></td>
      <td width="180" align="left">
        <span id="sprytextfield2">           
        <input type="text" name="user" id="user" onkeydown="if (event.keyCode == 13) { this.form.submit(); return false; }"/>
            <span class="textfieldRequiredMsg">Se necesita un valor.</span>
            <span class="textfieldInvalidFormatMsg">Formato no valido.</span>
            <span class="textfieldMaxCharsMsg">Se ha superado el numero máximo de caracteres.</span>        
        </span>
      </td>
    </tr>
    <tr>
      <td height="39" colspan="2" align="center"> <a href="index.jsp?action=MostrarLoginAlternativo">Olvido su numero de afiliado</a></td>
    </tr>
  
  </table>
        <input type="hidden" name="doc" value="0">
        <input type="hidden" name="tipo_doc" value="0">
        <input type="hidden" name="fechan" value="1900-12-12">
  
      
   <input type="submit" name="login" id="login" value="Login" />
  </form>
  
  <p>&nbsp;</p>

  <!-- end .content -->
</div>
    <script type="text/javascript">
        var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2", "integer", {validateOn:["change"], maxChars:8});
    </script>
  <!-- end .content -->
</div>
<!-- InstanceEndEditable -->
<div class="footer"><img src="images/logo_96.png" alt="" width="60" height="61" /> </div>
</body>
</html>
